
package ro.ase.catalog.security.service;

import org.springframework.security.acls.MutableAclService;
import org.springframework.security.acls.Permission;
import org.springframework.security.acls.sid.Sid;
import ro.ase.catalog.beans.AbstractSecureObject;


public interface ISecurityAclService extends MutableAclService{


    @SuppressWarnings("unchecked")
    public void addPermission(AbstractSecureObject securedObject, Permission permission, Class clazz);

    @SuppressWarnings("unchecked")
    public void addPermission(AbstractSecureObject securedObject, Sid recipient, Permission permission, Class clazz);

}
